﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace WebApplicationAOPNetCore
{
    public class CustomService : ICustomService
    {
        public async Task<string> Call()
        {
            await Task.Delay(1000);
            Console.WriteLine($"Cur time {DateTime.Now}");
            return DateTime.Now.ToString();
        }
    }
}
